projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc84a40
)
Fix a syntax error when evaluating pcase.el under Edebug
author
Eli Zaretskii
<eliz@gnu.org>
Sat, 4 Feb 2017 11:12:14 +0000
(13:12 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 4 Feb 2017 11:12:14 +0000
(13:12 +0200)
* lisp/emacs-lisp/pcase.el (pcase-MACRO): Replace def-edebug-spec
with an explicit 'put' form. Suggested by Gemini Lasswell
<gazally@runbox.com>. (Bug#24717)
lisp/emacs-lisp/pcase.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/pcase.el
b/lisp/emacs-lisp/pcase.el
index 54678c5f324cc09ecc61e04a5bb996bcfcd9c78e..46a5eedd15018c9d55fae485958b858eeee65f3e 100644
(file)
--- a/
lisp/emacs-lisp/pcase.el
+++ b/
lisp/emacs-lisp/pcase.el
@@
-89,7
+89,8
@@
(functionp &rest form)
sexp))
-(def-edebug-spec pcase-MACRO pcase--edebug-match-macro)
+;; See bug#24717
+(put 'pcase-MACRO 'edebug-form-spec 'pcase--edebug-match-macro)
;; Only called from edebug.
(declare-function get-edebug-spec "edebug" (symbol))